<!doctype html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>{$title}-<yang:sitename /></title>
	<meta name="keywords" content="{$keywords}" />
	<meta name="description" content="{$description}" />
	<!--<script type="text/javascript" src="__PUBLIC__/js/jquery-1.7.2.min.js" ></script>-->
	<link href="__PUBLIC__/css/css.css" rel="stylesheet" type="text/css" />
</head>

<body style="background-color:#f3f3f3;">
<!--top  产品中心页面-->
<!--头部-->
<div>
	<div style="width:1260px;margin:0 auto;height: 120px;">
		<include file="Public:header" />
	</div>
	<!--图片-->
	<img src="./Public/Home/default/images/4.jpg" width="100%">
	<div style="text-align:center; vertical-align:middle;background-color:#f3f3f3;">
		<yang:ad id='2' flag='1' />
	</div>


	<!--左部-->
	<div style="width:1260px;margin:0 auto;">
		<div style="float:left;margin-left:120px;">
			<div style="background:url(./Public/Home/default/images/14.png);width:220px;background-size:100% 100%;padding-bottom:20px;">
				<div>
					<div style="padding-top:20px;padding-left:20px;"><span style="color:white;font-size:18px;">产品中心</span>
						<span style="color:white;font-size:14px;">Product Center</span></div>

					<div style="margin-left:30px;">
						<dl>
							<volist name='catlist' id='ll'>
								<dt id="cl" style="display:inline;" >
									<if condition="$ll.pt neq null">
										<div style="font-size: 16px;height:37px; width:160px;color: white;
							background:url(./Public/Home/default/images/21.png);
							background-size:100% 100%;" onclick="check({$ll.id})">

											<div style="vertical-align:middle;">
												<img src="./Public/Home/default/images/15.png" style="margin-top: 8px;margin-left: 8px;"/>{$ll.name}
											</div>
										</div>


										<else />
										<div style="font-size: 16px;height:37px; width:160px;color: white;
												background:url(./Public/Home/default/images/21.png);
												background-size:100% 100%;">
											<a href="{:U('List/index',array('qid'=>$ll['id'],'cid'=>$cid))}">
												<div style="vertical-align:middle; color: #fff;">
													<img src="./Public/Home/default/images/15.png" style="margin-top: 8px;margin-left: 8px;"/>{$ll.name}
												</div>
											</a>
										</div>


									</if>

									<!--</a>-->
								</dt>
								<div id="list_{$ll.id}" <if condition="$ll.id neq $father_id"> style="display: none;" </if>>
								<volist name="ll.pt" id='lv'>
									<dd>
										<a href="{:U('List/index',array('qid'=>$lv['id'],'cid'=>$cid))}">
											<div style="font-size:16px;color: white;">{$lv.name}</div>
										</a>
								</volist>
					</div>
					</volist>
					</dt>
					</dl>
				</div>
			</div>
		</div>
		<div class="clear"></div>
	</div>
	<!--右部-->

	<if condition="$id gt 0">
		<div style="margin-top:30px;color:#000000;margin-left:370px;">
			<img src="./Public/Home/default/images/17.png" style="width:12px;">
			<b style="color:#000000;font-size:16px;">{$info.title}</b>
		</div>
		<div style="width:770px; float:right;margin-right:120px;margin-top:10px;margin-bottom:50px;">
			<volist name="picture" id="val" >
				<div ><img style="width:768px;height:300px;" src="{$val.url}"></div>
			</volist>
			<div style="width:768px;">{$info.content}</div>
			<div class="clear"></div>
		</div>
		<else/>
		<div style="margin-top:30px;color:#000000;margin-left:370px;">
			<volist name="allproduct" id='item'>
				<div style="float: left;width: 50%;height: 160px;">
					<div style="width:40%; float: left;">
						<a href="{:U('List/index',array('qid'=>$lv['id'],'cid'=>$cid,'id'=>$item['id']))}">
							<img src="{$item.litpic}" style="width: 100%;height: 150px;">
						</a>
					</div>
					<div style="width:40%; float: left; padding-left:5%;">
						<h5>产品名称：{$item.title}</h5>
						<h5 style="height:79px;overflow:hidden;">说&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;明：{$item.description}</h5>
					</div>
				</div>
			</volist>
		</div>
	</if>




	<!--分页 -->
	<div class="scott mt">{$page}
		<DIV class="clear"></DIV>
	</div>
</div>
<!--页脚-->

<div class=" clear"></div>
<div>
	<include file="Public:footer" />
</div>
</div>
<script type="text/javascript">


	function check(id){
		var btn = 'list_'+id;
		show=document.getElementById(btn);
		if(show.style.display=="block"){
			show.style.display="none";
		}else
		{
			show.style.display="block";
		}

	}
</script>

</body>
</html>
